/* 
    Document   : common
    Created on : Oct 21, 2011, 12:55:41 AM
    Author     : hishekha
    Description:
        Purpose of the stylesheet follows.
*/

/* 
   TODO customize this sample style
   Syntax recommendation http://www.w3.org/TR/REC-CSS2/
*/

body {
  background:#FFF;
  font-family: "Trebuchet MS",Arial,Helvetica,sans-serif;
  font-size: 14px;
  margin:0px;
}

a img {
  border: none;
}

a {
  color: #21759B;
}

a:hover {
  color: #D54E21;
}

.clear {
  clear: both;
  height: 0;
  overflow: hidden;
}

.align-right {
    text-align: right;
}

.align-left {
    text-align: left;
}

.align-center {
    text-align: center;
}

.float-left {
    float: left;
}

.float-right {
    float:right;
}

.half-width {
    width:46%;
}

.right-div {
    margin-left: 5px;
}

.right-div-with-border {
    margin-left: 5px;
    border-left: 1px solid #EEE;
}

span.button_separator {
    display: inline-block;
    width:20px;
}

#container {
  margin: 0 auto;
  background-color: #FFF;
  float:left;
}

#flash_notice, #flash_error, .flash_note {
  padding: 5px 8px;
  margin: 10px 0;
  border-radius:5px;
}

#flash_notice {
  background-color: #CFC;
  border: solid 1px #6C6;
}

#flash_error {
  background-color: #CC0000;
  border: solid 1px #C66;
  color:#FFF;
}

.flash_note {
    background-color:#999;
    border: solid 1px #666;
}

.fieldWithErrors {
  display: inline;
}

#errorExplanation {
  width: 400px;
  border: 2px solid #CF0000;
  padding: 0px;
  padding-bottom: 12px;
  margin-bottom: 20px;
  background-color: #f0f0f0;
}

#errorExplanation h2 {
  text-align: left;
  font-weight: bold;
  padding: 5px 5px 5px 15px;
  font-size: 12px;
  margin: 0;
  background-color: #c00;
  color: #fff;
}

#errorExplanation p {
  color: #333;
  margin-bottom: 0;
  padding: 8px;
}

#errorExplanation ul {
  margin: 2px 24px;
}

#errorExplanation ul li {
  font-size: 12px;
  list-style: disc;
}

.shadow {
  -moz-box-shadow: 5px 5px 5px #ccc;
  -webkit-box-shadow: 5px 5px 5px #ccc;
  box-shadow: 5px 5px 5px #ccc;
}

input[type='text'],
input[type='password'],
textarea,
select {
    background: url("../images/theme/bk_field.png") repeat-x ;
    border-color: #CCC #E0E1E0 #E0E1E0 #CCC;
    border-style: solid;
    border-width: 1px;
}

input.datetype {
    background: url("../images/icons/calendar16x16.png") right center no-repeat;
}

.button {
    background: url("../images/theme/button_default.png") repeat-x scroll center 0 transparent;
    border: 1px solid #DADADA;
    color: #464646;
    cursor: default;
    font-size: 13px;
    line-height: 14px;
    padding: 3px 12px;
    text-align: center;
    width: auto;
    border-radius:3px;
    cursor:pointer;
    text-shadow: 1px 0 1px #FFF;
}

input.submit_button {
    background: url("../images/button-grad-active.png") repeat-x scroll left top #21759B;
    color: #EAF2FA;
    font-weight: bold;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.3);
    border:1px solid #298CBA;
    border-radius: 5px;
    padding:3px 5px;
    cursor: pointer;
}

.button:hover {
    background: url("../images/theme/button_default.png") repeat-x scroll center transparent;
    border-color: #C8C7C7;
    color: #727070;
}

.half_container {
    float: left;
    height:100px;
    border:1px solid #000;
    margin: 0px 5px 10px 0px;
}

.one_third_container {
    height:80px;
    float:left;
    border:1px solid #F90;
    margin: 0px 5px 10px 5px;
}

div#page-header {
    margin: 10px 0px 0px 0px;
}

div#page-header span.page-icons {
    width:48px;
    height:48px;
    display: inline-block;
    float:left;
}

div#page-header h1.page-name {
    margin: 12px;
    color: #464646;
    display: inline-block;
    font-family: "HelveticaNeue-Light","Helvetica Neue Light","Helvetica Neue",sans-serif;
    font-size:23px;
    font-weight:normal;
}

div#page-header div.page-help-section {
    min-height:25px;
    background: #F1F1F1;
    border-radius: 3px 3px 0px 0px;
    padding: 10px 15px;
    color: #646464;
    display: none;
}

div#page-header div.page-help-navigator {
    border-top:1px solid #DFDFDF;
    min-height: 10px;
}

div#page-header div.page-help-navigator span#help-button {
    float:right;
    margin-right: 5px;
    display: inline-block;
    width:50px;
    padding:2px 5px 2px 10px;
    border:1px solid #f1f1f1;
    border-radius: 0px 0px 5px 5px;
    font-size:12px;
    background: #E3E3E3 url(../images/theme/arrows.png) 40px 3px no-repeat;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.7);
    color:#777;
    cursor: pointer;
}

div#container div.page-form {
    padding:10px;
}

div#container div.page-form form.large-form {
    width: 800px;
    display: relative;
}

div#container div.page-form form div.form_row {
    padding: 10px 0px;
}

div#container div.page-form form div.form_row input[type='text'],
div#container div.page-form form div.form_row select,
div#container div.page-form form div.form_row textarea
{
    min-width:300px;
    padding:4px 0px;
    color:#666;
    border-radius: 3px;
}

div#container div.page-form form div.form_row select option {
    padding:0px 5px;
    margin:5px;
}

div#container div.page-form form div.form_row div.row_half{
    width:400px;
    display: inline-block;
}

div#container div.page-form form div.form_row input[type="text"].title-input {
    width:100%;
    pading:5px 0px;
    font-size:20px;
}

div#container div.page-form form div.form_row ul {
    list-style:none;
    display: inline-block;;
    margin:0px;
    padding:0px;
    color:#666;
}

div#container div.page-form form div.form_row ul.inline li{
   display: inline;
}

div#container div.page-form label {
    color:#222;
    width: 200px;
    display: inline-block;
    vertical-align: top;
}

div#container div.page-form form.large-form input[type="text"],
div#container div.page-form form.large-form select,
div#container div.page-form form.large-form label{
    width:300px;
}

div#container div.page-form div.float-right label{
    display: inline-block;
    text-align: left;
}

div#container div.page-form label.block-label {
    display: block;
    font-size:12px;
}

div#container div.page-form form input.submit_button {
    background: url("../images/button-grad-active.png") repeat-x scroll left top #21759B;
    color: #EAF2FA;
    font-weight: bold;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.3);
    border:1px solid #298CBA;
    border-radius: 5px;
    padding:3px 5px;
    cursor: pointer;
}

div#container div.page-form form input.submit_button:hover {
    border-color:#058;
}


div#container div.page-form div.grid-top-bar {
    padding:5px 0px;
}

div#container div.page-form div.grid-top-bar div.grid-box {
    display: inline-block;
    margin-right: 20px;
}

div#container div.page-form div.grid-top-bar div.grid-box label{
    display: inline;
    width: auto;
    color: #464646;
}

div#container div.page-form div.grid-top-bar select {
    border-radius: 3px;
    padding: 3px;
}

table.grid {
    border:1px solid #DFDFDF;
    width:100%;
    border-radius: 3px;
    font-size: 12px;
}

table.grid thead.grid_header,
table.grid tfoot.grid_header {
    background:#EEF;
    background-color: #F1F1F1;
    background-image: -moz-linear-gradient(center top , #F9F9F9, #ECECEC);
}

table.grid thead th ,
table.grid tfoot th {
    padding:5px;
}

table.grid thead th,
table.grid tfoot th{
    text-shadow: 0 1px 0 #FFF;
    color: #464646;
    font-size: 13px;
}

table.grid thead.grid_header th.grid_chkbox,
table.grid tfoot.grid_header th.grid_chkbox {
    width:30px;
}

table.grid thead.grid_header th.grid_title,
table.grid tfoot.grid_header th.grid_title,
table.grid thead.grid_header th.grid_dates,
table.grid tfoot.grid_header th.grid_dates,
table.grid thead.grid_header th.grid_meta {
    text-align: left;
    padding-left: 15px;
    text-shadow: 1px solid #EFEFEF;
}

table.grid thead.grid_header th.grid_title,
table.grid tfoot.grid_header th.grid_title {
    width:auto;
}

table.grid thead.grid_header th.grid_meta {
    width:100px;
}

table.grid thead.grid_header th.grid_dates,
table.grid tfoot.grid_header th.grid_dates {
    width:15%;
}

table.grid tr.grid_rows {
    background: transparent;
}

table.grid tr.grid_rows td.row_chkbox {
   text-align: center;
}

table.grid tr.grid_rows td.row_title,
table.grid tr.grid_rows td.row_dates {
    padding-left: 15px;
}

table.grid tr.grid_rows td {
    padding: 10px 5px 2px 5px;
    vertical-align: top;
}

table.grid tr.grid_rows td span.miniText {
    color: #666;
}

table.grid thead th,
table.grid tr.grid_rows td {
    
    border-bottom: 1px solid #DFDFDF;
}

table.grid tr.grid_rows td div.meta-links {
    padding:5px 0px 0px 0px;
    min-height: 25px;
}

table.grid tr.grid_rows td div.meta-links * {
    display: none;
}

table.grid tr.grid_rows:hover td div.meta-links *{
    display:inline-block;
}

table.grid tr.grid_rows td div.meta-links span {
    font-size: 90%;
}

table.grid tr.grid_rows td div.meta-links a {
    font-weight: normal;
    cursor: pointer;
}

table.grid tr.grid_rows td a {
    text-decoration: none;
    font-weight: bold;
}

table.grid tr.inline-editor {
    display: none;
}

table.grid tr.grid_rows td.quick-edit {
    background: #FCFCFC;
}

table.grid tr.inline-editor h4 {
    color:#222;
    margin:0px 0px 5px 0px;
}

table.grid tr.inline-editor div.inline-edit {
    padding:0px 10px;
}

table.grid tr.inline-editor div.label-field-pair {
    padding:5px 0px;
}

table.grid tr.inline-editor span.attrib {
    display: inline-block;
    width:80px;
}

table.grid tr.inline-editor input.input-inline,
table.grid tr.inline-editor select.select-inline{
    width:300px;
    background: transparent;
    border-radius: 3px;
    color:464646;
    padding: 2px 5px;
    font-size: 12px;
}

